# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-ovos-ocp-m3u-plugin
pkgver=0.0.2a1
pkgrel=0
pkgdesc="ovos-core m3u plugin"
url="https://github.com/OpenVoiceOS/ovos-ocp-m3u-plugin"
arch="noarch"
license="Apache-2.0"
depends="py3-ovos-ocp-audio-plugin"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-ocp-m3u-plugin/archive/refs/tags/V$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/ovos-ocp-m3u-plugin-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
abb92e3cf319a22eb803d8789277b317d65492419993ab6e2486abbd91587404b8d5230c4125dd0554730644a3e5be1be49de127b7fc57b3ca8cd9833ea274fa  py3-ovos-ocp-m3u-plugin-0.0.2a1.tar.gz
"
